Skip to content

Prepare accessor function descriptors for properties: get set #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 8, 2024

Conversation

ktoso
Copy link
Collaborator

@ktoso ktoso commented Oct 3, 2024

Started progress on variables/properties.

  • function descriptors
  • addresses
  • getter downcall method
  • setter downcall method
  • filter out async/throwing etc
  • computed properties

Just the function descriptors for now, will do the complete thing in this PR.

Resolves #24

@ktoso ktoso force-pushed the wip-properties branch 2 times, most recently from 20e3f76 to 9ca8ff6 Compare October 3, 2024 13:13
@@ -122,7 +122,8 @@ let package = Package(
dependencies: [
.package(url: "https://github.com/swiftlang/swift-syntax.git", branch: "main"),
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.5.0"),
.package(url: "https://github.com/apple/swift-system", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-system", from: "1.0.0"), // TODO: remove, we should not need 'nm' or process callouts
.package(url: "https://github.com/apple/swift-collections.git", .upToNextMinor(from: "1.1.0")),
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OrderedSet to avoid sourcegen order breaking some tests

}

@Test
@DisabledOnOs(OS.LINUX) // FIXME: enable on Linux when we get new compiler with mangled names in swift interfaces
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lots of tests waiting on #27

@ktoso ktoso merged commit 6edcde5 into swiftlang:main Oct 8, 2024
9 checks passed
@ktoso ktoso deleted the wip-properties branch October 8, 2024 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

jextract-swift support Swift properties as Java get/set method pairs
1 participant